﻿namespace Nasty.Core.Attributes
{
    /// <summary>
    /// Job任务标签
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    public class NastyJobAttribute : Attribute
    {
        private bool _IsLog = true;

        /// <summary>
        /// 是否记录日志
        /// </summary>
        public bool IsLog
        {
            get
            {
                return _IsLog;
            }
            set
            {
                _IsLog = value;
            }
        }
    }
}
